package com.huilian.iotbox.data.dao;

import com.huilian.iotbox.data.dto.LogLoginDto;
import com.huilian.iotbox.data.po.LogManipulate;
import com.huilian.iotbox.data.vo.LogManipulateVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author 谢洛涛
 * @date 2021/5/17 16:28
 */
@Mapper
public interface LogManipulateDao {
    Integer insert(LogManipulate logManipulate);

    List<LogManipulateVo> findAllByKeyword(LogManipulate logManipulate);

    void delete(Integer id);

    void batchDelete(List<Integer> batchDeleteToList);

    void deleteInStartAndEndDateTime(LogLoginDto logLoginDto);

    Integer deleteByTime(String time);
}
